//============================================================================
// Name        : robotica.cpp
// Author      : inzirpask
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================


#include "Dalek.h"
//#include "PngPlus.h"

using namespace std;

int main()
{
	/*
	string path="/home/baneling/Desktop/provaRGBA.png";
	PngPlus *pp=new PngPlus(path,true,HMAX*2*IMAGERATIO,WMAX*2*IMAGERATIO,true,true);
	pp->setPixel(HMAX,WMAX,1,0);
	pp->setPixel(-HMAX,-WMAX,1,90);
	pp->setPixel(HMAX,-WMAX,1,180);
	pp->setPixel(-HMAX,WMAX,1,270);
	pp->setPixel(0,1,0.99);
*/
	bool initFiles=true;
	bool verbose=true;
	Dalek *dalekCan=NULL;
	dalekCan=new Dalek("dalekCan","localhost:6665",0,0,0,0,initFiles,verbose);
	dalekCan->run();

/*
	string s="/home/baneling/Desktop";
	FileTree *ft;
	ft=new FileTree(s, 1,1);
	for(int i=0;i<10;i++)
	{
		ft->writeCumulatedReward(1.1,i);
	}*/
	return 0;
}
